package com.lihao.sam.entity.xiaobei;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author yifu
 * @date2022/11/22 19:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AccommodationFeeCollection {
    //编号
    private Integer id;
    //学号
    @ExcelProperty("学号")
    private String studentid;
    //名字
    @ExcelProperty("名字")
    private String afname;
    //'学院'
    @ExcelProperty("学院")
    private String college;
    //'系'
    @ExcelProperty("系")
    private String system;
    //'专业'
    @ExcelProperty("专业")
    private String major;
    //'年级'
    @ExcelProperty("年级")
    private String grade;
    //'班级'
    @ExcelProperty("班级")
    private String class1;
    //'地址'
    @ExcelProperty("地址")
    private String address;
    //'栋号'
    @ExcelProperty("栋号")
    private String building;
    //'层号'
    @ExcelProperty("层号")
    private String floor;
    //'序号'
    @ExcelProperty("序号")
    private String roomnumber;
    //'公寓单价'
    @ExcelProperty("公寓单价")
    private String apartmentmoney;
    //'交费日期'
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ExcelProperty("交费日期")
    private String dateofpayment;
    //'备注'
    @ExcelProperty("备注")
    private String remarks;

}